package com.xingfudazi.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author YuJiaMing
 * date 2023年11月14日 15:21
 */
@Data
@ApiModel(value = "系统调整对象")
public class SysAdjustEnergyDTO {


    @ApiModelProperty(value = "会员id", required = true)
    @NotNull(message = "会员id不为空")
    private Long nid;

    @ApiModelProperty(value = "调整之后的", required = true)
    @NotNull(message = "不为空")
    @Min(value = 0, message = "最小调整为0")
    private Integer gc;
}
